/**
 * <p>Copyright:Copyright(c) 2019</p>
 * <p>Company:Professional</p>
 * <p>Package:org.cesgroup.course.sample</p>
 * <p>File:BossHandler.java</p>
 * <p>类更新历史信息</p>
 * @todo chanlong(陈龙) 创建于 Sep 16, 2019 11:48:49 AM
 */
package org.cesgroup.course.sample;

/**
 * <p>描述: </p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date Sep 16, 2019 11:48:49 AM
 * @version 1.0.2019
 */
// Boss
public class BossHandler extends AbstractHandler {

	@Override
	public Object handle(int days) {
		if (days >= 10) {
			System.out.println("处理BOSS审批的逻辑");
			return null;
		} 
		// 无法处理提交下一个
		return null != next ? next.handle(days) : null;
	}

}
